<%@taglib uri="/struts-tags" prefix="s" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <s:include value="Commun/EnTete.jsp"/>
    <body>
        <s:include value="Commun/MenuAdmin.jsp"/> 
        <div class="span9">

            <div class="widget stacked widget-table">

                <div class="widget-header">
                    <span class="icon-file"></span>
                    <h3><s:text name="label.offres"></s:text></h3>
                    </div> <!-- .widget-header -->

                    <div class="widget-content">
                        <table class="table table-bordered table-striped table-highlight">

                            <thead>
                                <tr>								
                                    <th><s:text name="label.titreOffre"></s:text></th>
                                <th><s:text name="label.nomEntreprise"></s:text></th>
                                <th><s:text name="label.url"></s:text></th>
                                <th><s:text name="label.tel"></s:text></th>

                                    <th class="td-actions"></th>
                                </tr></thead>

                            <tbody>
                            <s:iterator value="#session.listeOffre">

                                <tr>

                                    <td class="description"><s:property value="titreOffre" /></td>
                                    <td class="value"><span><s:property value="Entreprise.nomEntreprise" /></span></td>
                                    <td class="value"><span><s:property value="Entreprise.urlEntreprise" /></span></td>
                                    <td class="value"><span><s:property value="Entreprise.telEntreprise" /></span></td>
                                    <td class="td-actions">           
                                        <a href="<s:url action="consulterDetailsOffrePourAdmin"><s:param name="idOffre"><s:property value="idOffre"/></s:param></s:url>" class="btn btn-small btn-warning">
                                           <i class="btn-icon-only icon-ok"></i>										
                                        </a>
                                    </td>
                                        </tr>
                            </s:iterator>
                        </tbody></table>

                </div> 

            </div>

        </div> 

        <s:include value="Commun/Footer.jsp"/> 
    </body>
</html>                      